af_alert_l2
Configuration for Threshold breach information for Level 2 resource.
Read/write properties
stylebook_flag<Boolean>
Stylebook threshold configuration true or false.
entity_type<String>
Entity Type.
country<String>
Country Code.
Maximum length = 8
exporter_id<Double>
Exporter Id.
breach_value<String>
Breach Value.
ip_address<String>
Field to store the ip address as it is along with any extension.
Maximum length = 512
tenant_name<String>
Tenant Name.
region<String>
Region Code.
Maximum length = 10
rpt_sample_time<Double>
Report Sample time..
metric<String>
Metric.
city<String>
City.
Maximum length = 255
duration<String>
Threshold calculation frequency period daily,weekly etc.
ctnsappname<String>
AppName.
Maximum length = 255
entity<String>
Entity.
reference_key<String>
Reference Key.
violation_count<Integer>
No of times violation happens for particular entity.
threshold_name<String>
Threshold Name.
is_enable_flag<Integer>
Only applicable for configuration entries, 1=enable, 2=disable, 3=delete.
threshold_value<String>
Threshold Value.
Operations
NOTE: In request payload, Mandatory parameters are marked red and bold.
The following parameters can be used in the nitro request :
onerror <String_value>
Use this parameter to set the onerror status for nitro request. Applicable only for bulk requests.
Default value: EXIT
Possible values = EXIT, CONTINUE
URL:https://<MGMT-IP>/nitro/v2/config/af_alert_l2
Query-parameters:
HTTPS Method:GET
HTTPS Request Headers:
Accept:application/json
X-NITRO-USER:username_value<String>
X-NITRO-PASS:password_value<String>
or
Cookie:NITRO_AUTH_TOKEN=token_value<String>
Response:
HTTPS Status Code on Success: 200 OK HTTPS Status Code on Failure: 4xx
Response Headers:
Content-Type:application/json
Response Payload:JSON
{ "errorcode": 0, "message": "Done", "severity": <String_value>, "af_alert_l2":[{
"stylebook_flag":<Boolean_value>,
"entity_type":<String_value>,
"country":<String_value>,
"exporter_id":<Double_value>,
"breach_value":<String_value>,
"ip_address":<String_value>,
"tenant_name":<String_value>,
"region":<String_value>,
"rpt_sample_time":<Double_value>,
"metric":<String_value>,
"city":<String_value>,
"duration":<String_value>,
"ctnsappname":<String_value>,
"entity":<String_value>,
"reference_key":<String_value>,
"violation_count":<Integer_value>,
"threshold_name":<String_value>,
"is_enable_flag":<Integer_value>,
"threshold_value":<String_value>}]}